package com.dc.system.model;

import java.io.Serializable;
import java.util.Date;

public class SysUser implements Serializable {
    /**
     *   用户id
     *
     */
    private int user_id;

    /**
     *   用户账号
     *
     */
    private String account;

    /**
     *   用户密码
     *
     */
    private String password;

    /**
     *   用户姓名
     *
     */
    private String name;

    /**
     *   头像地址
     *
     */
    private String head_img_url;

    /**
     *   用户状态0禁用1启用
     *
     */
    private int state;

    /**
     *   创建人用户id
     *
     */
    private int create_user_id;

    /**
     *   创建人用户名
     *
     */
    private String create_user_name;

    /**
     *   创建时间
     *
     */
    private Date create_time;

    /**
     *   更新人用户id
     *
     */
    private int update_user_id;

    /**
     *   更新人用户名
     *
     */
    private String update_user_name;

    /**
     *   更新时间
     *
     */
    private Date update_time;

    /**
     *   0删除1存在
     *
     */
    private int is_deleted;

	/**
	 * 版本号
	 */
	private int version;

	public int getVersion() {
		return version;
	}

	public void setVersion(int version) {
		this.version = version;
	}


	/**
     */
    private static final long serialVersionUID = 1L;

   
    public int getUser_id() {
		return user_id;
	}

	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getHead_img_url() {
		return head_img_url;
	}

	public void setHead_img_url(String head_img_url) {
		this.head_img_url = head_img_url;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public int getCreate_user_id() {
		return create_user_id;
	}

	public void setCreate_user_id(int create_user_id) {
		this.create_user_id = create_user_id;
	}

	public String getCreate_user_name() {
		return create_user_name;
	}

	public void setCreate_user_name(String create_user_name) {
		this.create_user_name = create_user_name;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public int getUpdate_user_id() {
		return update_user_id;
	}

	public void setUpdate_user_id(int update_user_id) {
		this.update_user_id = update_user_id;
	}

	public String getUpdate_user_name() {
		return update_user_name;
	}

	public void setUpdate_user_name(String update_user_name) {
		this.update_user_name = update_user_name;
	}

	public Date getUpdate_time() {
		return update_time;
	}

	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}

	public int getIs_deleted() {
		return is_deleted;
	}

	public void setIs_deleted(int is_deleted) {
		this.is_deleted = is_deleted;
	}

	@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", user_id=").append(user_id);
        sb.append(", account=").append(account);
        sb.append(", password=").append(password);
        sb.append(", name=").append(name);
        sb.append(", head_img_url=").append(head_img_url);
        sb.append(", state=").append(state);
        sb.append(", create_user_id=").append(create_user_id);
        sb.append(", create_user_name=").append(create_user_name);
        sb.append(", create_time=").append(create_time);
        sb.append(", update_user_id=").append(update_user_id);
        sb.append(", update_user_name=").append(update_user_name);
        sb.append(", update_time=").append(update_time);
        sb.append(", is_deleted=").append(is_deleted);
        sb.append("]");
        return sb.toString();
    }

  
}